package com.sky.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {


//@Param("employee") 作用：告诉MyBatis，这个参数对应的是SQL中的#{employee}
    IPage<Employee> selectPageList(IPage<Employee> employeeIPage, EmployeePageQueryDTO employee);
}
